package com.kriss.blog.common;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public class BaseDaoImpl<T> extends HibernateDaoSupport implements IBaseDao<T> {


	public  void save(T t){
		this.getHibernateTemplate().save(t);
	}

	public List<T> findByHql(String hql, Object... value) {
		return this.getHibernateTemplate().find(hql, value);
	}


}
